package com.nit.trash.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class ExamEntity {
    private Long examId;
    private String examSn;
    private Long garbageId;
    private Long userId;
    private Integer sortId;
    private Integer answerId;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date gmtCreate;

    public ExamEntity() {
    }

    public ExamEntity(Long examId, String examSn, Long garbageId, Long userId, Integer sortId, Integer answerId, Date gmtCreate) {
        this.examId = examId;
        this.examSn = examSn;
        this.garbageId = garbageId;
        this.userId = userId;
        this.sortId = sortId;
        this.answerId = answerId;
        this.gmtCreate = gmtCreate;
    }

    public Long getExamId() {
        return examId;
    }

    public void setExamId(Long examId) {
        this.examId = examId;
    }

    public String getExamSn() {
        return examSn;
    }

    public void setExamSn(String examSn) {
        this.examSn = examSn;
    }

    public Long getGarbageId() {
        return garbageId;
    }

    public void setGarbageId(Long garbageId) {
        this.garbageId = garbageId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getSortId() {
        return sortId;
    }

    public void setSortId(Integer sortId) {
        this.sortId = sortId;
    }

    public Integer getAnswerId() {
        return answerId;
    }

    public void setAnswerId(Integer answerId) {
        this.answerId = answerId;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }
}
